package com.kefu.call.model;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author auto
 * @date 2023/07/28
 */
@Data
@TableName(value="call_transfer")
@ApiModel(description = "")
public class CallTransfer implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@TableId(value="uuid",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String uuid;
    
    @TableField(value="channeluuid")
    @ApiModelProperty(value = "呼叫uuid")
    private String callId;
    
    @TableField(value="callernumber")
    @ApiModelProperty(value = "主叫")
    private String callerNumber;
    
    @TableField(value="calleenumber")
    @ApiModelProperty(value = "被叫")
    private String callinNumber;
    
    @TableField(value="calltransfertime")
    @ApiModelProperty(value = "转接时间")
    private String ivrStartTime;
    
    @TableField(value="ccagentid")
    @ApiModelProperty(value = "转接的那个坐席")
    private String ccagentid;
    
    @TableField(value="callendtime")
    @ApiModelProperty(value = "呼叫结束")
    private String callEndTime;
    
    @TableField(value="org")
    @ApiModelProperty(value = "组ID")
    private String groupId;
    
    @TableField(value="queuestarttime")
    @ApiModelProperty(value = "排队开始时间")
    private String queueStartTime;
    
    @TableField(value="ccmemberjoinedtime")
    @ApiModelProperty(value = "加入排队时间")
    private String memberJoinedTime;

    @TableField(value="ccause")
    @ApiModelProperty(value = "放弃方")
    private String cause;
    
    @TableField(value="ccancelreason")
    @ApiModelProperty(value = "放弃方key")
    private String cancelReason;
    
    @TableField(value="ccancelreasonname")
    @ApiModelProperty(value = "放弃方")
    private String cancelReasonName;

    @TableField(value="ugname")
    @ApiModelProperty(value = "终端名称[名称]")
    private String ugName;
    
    @TableField(value="ugtype")
    @ApiModelProperty(value = "终端类型【phone,sip,webrtc】")
    private String ugType;
    
    @TableField(value="ccagent")
    @ApiModelProperty(value = "接起的坐席")
    private String agentId;
    
    @TableField(value="ccofferingtime")
    @ApiModelProperty(value = "分配到坐席时间")
    private String offeringTime;
    
    @TableField(value="queueendtime")
    @ApiModelProperty(value = "排队结束时间")
    private String queueEndTime;
    
    @TableField(value="ccmemberleavingtime")
    @ApiModelProperty(value = "离开排队时间")
    private String memberLeavingTime;
    
    @TableField(value="ccagentcalledtime")
    @ApiModelProperty(value = "呼叫坐席时间")
    private String agentCalledTime;
    
    @TableField(value="callerdestinationnumber")
    @ApiModelProperty(value = "被叫号码")
    private String calleeNumber;
    
    @TableField(value="ccagentansweredtime")
    @ApiModelProperty(value = "坐席应答时间")
    private String agentAnsweredTime;
    
    @TableField(value="cchangupcause")
    @ApiModelProperty(value = "挂机说明")
    private String cchangupcause;
    
    @TableField(value="cchangupcausetime")
    @ApiModelProperty(value = "挂机时间")
    private String cchangupcausetime;
    
    @TableField(value="ccbridgeterminatedtime")
    @ApiModelProperty(value = "通话结束时间")
    private String bridgeTerminatedTime;

    @ApiModelProperty(value = "公司")
    private String company;

}